package com.ruoyi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * Welfareinstitution对象 welfareinstitution
 * 
 * @author wjy
 * @date 2025-01-11
 */
public class Welfareinstitution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构id */
    private Long institutionId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String institutionName;

    /** 机构类型 */
    @Excel(name = "机构类型")
    private String institutionType;

    /** 注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationDate;

    /** 机构地址 */
    @Excel(name = "机构地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** e-mail */
    @Excel(name = "e-mail")
    private String email;

    /** 政府负责人id */
    @Excel(name = "政府负责人id")
    private Long govEid;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField1;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField2;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField3;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField4;

    public void setInstitutionId(Long institutionId) 
    {
        this.institutionId = institutionId;
    }

    public Long getInstitutionId() 
    {
        return institutionId;
    }
    public void setInstitutionName(String institutionName) 
    {
        this.institutionName = institutionName;
    }

    public String getInstitutionName() 
    {
        return institutionName;
    }
    public void setInstitutionType(String institutionType) 
    {
        this.institutionType = institutionType;
    }

    public String getInstitutionType() 
    {
        return institutionType;
    }
    public void setRegistrationDate(Date registrationDate) 
    {
        this.registrationDate = registrationDate;
    }

    public Date getRegistrationDate() 
    {
        return registrationDate;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setGovEid(Long govEid) 
    {
        this.govEid = govEid;
    }

    public Long getGovEid() 
    {
        return govEid;
    }
    public void setSpareField1(String spareField1) 
    {
        this.spareField1 = spareField1;
    }

    public String getSpareField1() 
    {
        return spareField1;
    }
    public void setSpareField2(String spareField2) 
    {
        this.spareField2 = spareField2;
    }

    public String getSpareField2() 
    {
        return spareField2;
    }
    public void setSpareField3(String spareField3) 
    {
        this.spareField3 = spareField3;
    }

    public String getSpareField3() 
    {
        return spareField3;
    }
    public void setSpareField4(String spareField4) 
    {
        this.spareField4 = spareField4;
    }

    public String getSpareField4() 
    {
        return spareField4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("institutionId", getInstitutionId())
            .append("institutionName", getInstitutionName())
            .append("institutionType", getInstitutionType())
            .append("registrationDate", getRegistrationDate())
            .append("address", getAddress())
            .append("phoneNumber", getPhoneNumber())
            .append("email", getEmail())
            .append("govEid", getGovEid())
            .append("spareField1", getSpareField1())
            .append("spareField2", getSpareField2())
            .append("spareField3", getSpareField3())
            .append("spareField4", getSpareField4())
            .toString();
    }
}
